package com.eastfair.venueservice.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 工单图纸
 * </p>
 *
 * @author linan
 * @since 2022-10-14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "WorkOrderDrawingSaveDTO", description = "工单图纸")
public class WorkOrderDrawingSaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 是否启用（确认状态）：1是 已确认；0否 未确认
     */
    @ApiModelProperty(value = "是否启用（确认状态）：1是 已确认；0否 未确认")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 工单编号
     */
    @ApiModelProperty(value = "工单编号")
    @Size(max = 255, message = "工单编号长度不能超过255")
    private String workOrderNo;
    /**
     * 展馆编码
     */
    @ApiModelProperty(value = "展馆编码")
    @Size(max = 255, message = "展馆编码长度不能超过255")
    private String spaceCode;
    /**
     * 展馆号
     */
    @ApiModelProperty(value = "展馆号")
    @Size(max = 255, message = "展馆号长度不能超过255")
    private String spaceName;
    /**
     * 展位编码
     */
    @ApiModelProperty(value = "展位编码")
    @Size(max = 255, message = "展位编码长度不能超过255")
    private String siteCode;
    /**
     * 展位号
     */
    @ApiModelProperty(value = "展位号")
    @Size(max = 255, message = "展位号长度不能超过255")
    private String siteName;
    /**
     * 图纸URL
     */
    @ApiModelProperty(value = "图纸URL")
    @Size(max = 255, message = "图纸URL长度不能超过255")
    private String picUrl;
    /**
     * 图纸名称
     */
    @ApiModelProperty(value = "图纸名称")
    @Size(max = 255, message = "图纸名称长度不能超过255")
    private String picName;
    /**
     * 图纸来源 字典维护
     */
    @ApiModelProperty(value = "图纸来源 字典维护")
    @Size(max = 255, message = "图纸来源 字典维护长度不能超过255")
    private String picSource;

}
